package com.falcon.service;

import com.falcon.domain.dos.UserDO;
import com.falcon.domain.req.UserQuery;
import com.falcon.domain.req.UserRequest;
import com.falcon.mvc.domain.BasePager;

import java.util.List;

public interface IUserService {

    Long save(UserRequest request);

    Boolean update(Long id, UserRequest request);

    Boolean deleteById(Long id);

    UserDO queryById(Long id);

    List<UserDO> queryList(UserQuery request);

    BasePager<UserDO> queryPager(UserQuery request);

    int batchDelete(List<Long> ids);

}

